const state = {
    active: parseInt(localStorage.getItem('active')) || 0
}
const mutations = {
    doActive (state, payload) {
        // console.log("payload=>",payload)
        state.active = payload
    }
}
const actions = {}
export default {
    namespaced: true,
    state,
    mutations,
    actions
}
